package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.entity.RechargeConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2019-08-22
 */
public interface RechargeConfigMapper extends BaseMapper<RechargeConfig> {
    /**
     * 获取充值套餐列表
     * @Author Shane
     * @Date 2019/8/2211:44
     * @param
     * @return
     **/
    List<RechargeConfig> getRecharges(@Param("type") Integer type, @Param("group") Integer group);

    RechargeConfig selectByPid(@Param("pid") String pid);
}